a metal wire of mass m slides without friction on two horizontal rails